home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Animation How-To
/
Animation How-to CD.iso
/
PLY
/
CHAPTER3
/
ROCKY
/
TEXT1.INC
< prev
next >
Wrap
Text File
|
1994-01-01
|
2KB
|
60 lines
define position_plain 0
define position_objectx 1
define position_worldx 2
define position_cylindrical 3
define position_spherical 4
define position_radial 5
define lookup_plain 0
define lookup_sawtooth 1
define lookup_sin 2
define lookup_ramp 3
define color_phase
texture {
noise surface {
color white
position_fn position_cylindrical
lookup_fn lookup_sin
octaves 1
turbulence 1.5+sin(phz*rad)
ambient 0.2
diffuse 0.7
specular 0.3
microfacet Reitz 5
color_map(
[0.000, 0.033, <a00, b00, c00>, <a01, b01, c01>]
[0.033, 0.067, <a01, b01, c01>, <a02, b02, c02>]
[0.067, 0.100, <a02, b02, c02>, <a03, b03, c03>]
[0.100, 0.133, <a03, b03, c03>, <a04, b04, c04>]
[0.133, 0.167, <a04, b04, c04>, <a05, b05, c05>]
[0.167, 0.200, <a05, b05, c05>, <a06, b06, c06>]
[0.200, 0.233, <a06, b06, c06>, <a07, b07, c07>]
[0.233, 0.267, <a07, b07, c07>, <a08, b08, c08>]
[0.267, 0.300, <a08, b08, c08>, <a09, b09, c09>]
[0.300, 0.333, <a09, b09, c09>, <a10, b10, c10>]
[0.333, 0.367, <a10, b10, c10>, <a11, b11, c11>]
[0.367, 0.400, <a11, b11, c11>, <a12, b12, c12>]
[0.400, 0.433, <a12, b12, c12>, <a13, b13, c13>]
[0.433, 0.467, <a13, b13, c13>, <a14, b14, c14>]
[0.467, 0.500, <a14, b14, c14>, <a15, b15, c15>]
[0.500, 0.533, <a15, b15, c15>, <a16, b16, c16>]
[0.533, 0.567, <a16, b16, c16>, <a17, b17, c17>]
[0.567, 0.600, <a17, b17, c17>, <a18, b18, c18>]
[0.600, 0.633, <a18, b18, c18>, <a19, b19, c19>]
[0.633, 0.667, <a19, b19, c19>, <a20, b20, c20>]
[0.667, 0.700, <a20, b20, c20>, <a21, b21, c21>]
[0.700, 0.733, <a21, b21, c21>, <a22, b22, c22>]
[0.733, 0.767, <a22, b22, c22>, <a23, b23, c23>]
[0.767, 0.800, <a23, b23, c23>, <a24, b24, c24>]
[0.800, 0.833, <a24, b24, c24>, <a25, b25, c25>]
[0.833, 0.867, <a25, b25, c25>, <a26, b26, c26>]
[0.867, 0.900, <a26, b26, c26>, <a27, b27, c27>]
[0.900, 0.933, <a27, b27, c27>, <a28, b28, c28>]
[0.933, 0.967, <a28, b28, c28>, <a29, b29, c29>]
[0.967, 1.000, <a29, b29, c29>, <a00, b00, c00>]
)
}
scale <100,100,100>
}